package pack0624_1;


public class StudentDemo{
    public static void main(String[] args) {
        //无参构造方法创建对象后使用setXxx()赋值
        Student a = new Student();
        a.setName("李钊");
        a.setAge(25);
        a.show();
        Student a1 = new Student("杨磊",25);

    }
}
